package com.burial.mapper;

import com.burial.entity.Order;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 订单信息表 Mapper 接口
 * </p>
 *
 * @author burial
 * @since 2024-04-17
 */
@Mapper
public interface OrderMapper extends BaseMapper<Order> {
    @Select("select * from tb_order where state != -1 limit #{start},#{limit}")
    List<Order> pageOrder(int start, Integer limit);
}
